home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1988 / Jan 88 / Dynamic Windows 1⁄21 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.2 KB  |  35 lines  |  [TEXT/GEOL]

  1. Item    7669659                         21-Jan-88        12:27
  2.  
  3. From:   D0830                           Data Translation, Dev, R Burger
  4.  
  5. To:     MACDTS                          Macintosh Developer Technical Supt.
  6.  
  7. cc:     MACAPP$                         MacApp Interest List
  8.         GIRAND1                         Girand, Laurie
  9.  
  10. Sub:    Dynamic Windows
  11.  
  12. This may be a simple question, but I’ll ask it anyway
  13. since I am not clear about the solution.
  14.  
  15. Our documents have bounding rectangles associated with them
  16. which differ from one to another.  In essence, there is an
  17. fBounds field of type Rect maintained in our TYourDocument
  18. object class which is read in as part of the document data.
  19.  
  20. We are unclear as to how to bring up the document in a window
  21. which is dynamically sized to fit the document’s fBounds.  We
  22. would like the window to fit the document, if possible, or a
  23. smaller area if the screen is too small.  We would also like
  24. to stagger windows onto the screen.  We are currently using
  25. SimpleStagger with a fixed window resource size, but this is
  26. obviously insufficient to support dynamic window sizing.
  27.  
  28. What should we do?
  29.  
  30.  
  31. Roberto Sierra
  32. Data Translation, Inc.
  33.  
  34.  
  35.